package com.ruiyi.subway.exception;


import org.apache.log4j.Logger;

public class RestException extends Exception {
	private static final long serialVersionUID = -4762181054514075995L;
    private static final Logger log = Logger.getLogger(RestException.class);

    public RestException(String message, Exception cause){
		super(message, cause);

	}

	public RestException(String message) {
		this(message, null);
	}

	public RestException(Exception cause) {
		this(cause.getMessage(), cause);
	}
}
